.head {
  position: relative;
  background: #fff;
  height: 100px;
}
.head .warper {
  height: 100%;
}
.head img {
  /*logo*/
  position: absolute;
  top: 0;
  bottom: 0;
  height: 65px;
  margin: auto 0;
}
.head .search {
  /*search*/
  position: relative;
  float: right;
  top: 50%;
  right: 186px;
  width: 400px;
  padding: 6px 39px 6px 30px;
  border: 2px solid #ff1132;
  border-radius: 24px;
  background-color: #fff;
  transform: translate(0, -50%);
}
.head .search input {
  width: 380px;
  line-height: 24px;
  border: none;
}
.head .search input::placeholder {
  font-size: 12px;
  font-style: italic;
}
.head .search i {
  position: absolute;
  left: 8px;
  width: 14px;
  height: 14px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  background: url(../img/sprite.png) no-repeat -466px -667px;
}
.head .search span {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 60px;
  height: 40px;
  background: url('../img/search.png') no-repeat center #ff1132;
  background-size: 20px;
  border-radius: 40px;
}
.head .chart {
  /*chart*/
  position: relative;
  float: right;
  top: 50%;
  right: 76px;
  width: 110px;
  height: 40px;
  border: 1px solid #ff1132;
  border-radius: 40px;
  transform: translate(0, -50%);
  transition: background-color 0.3s;
}
.head .chart:hover {
  background-color: #fff4f5;
}
.head .chart span {
  display: inline-block;
  width: 48px;
  margin-left: 50px;
  line-height: 40px;
}
.head .chart i {
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: 20px;
  height: 20px;
  margin-left: 20px;
  background: url(../img/chart.png) no-repeat;
  background-size: 100%;
}
